<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
<title></title>
    <link href="${pageContext.request.contextPath}/css/style.css" rel="stylesheet" type="text/css" />
    <link href="${pageContext.request.contextPath}/css/style_link.css" rel="stylesheet" type="text/css" />
    <link href="${pageContext.request.contextPath}/css/tab.css" rel="stylesheet" type="text/css" />
    <SCRIPT src="${pageContext.request.contextPath}/js/tab.js" type=text/javascript></SCRIPT>
<script src="${pageContext.request.contextPath}/js/jquery.js"
	type="text/javascript"></script>
<script
	src="${pageContext.request.contextPath}/js/jquery.ui.draggable.js"
	type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/js/jquery.alerts.js"
	type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/js/ajaxfileupload.js"
	type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/js/common.js"
	type="text/javascript"></script>
<link href="${pageContext.request.contextPath}/css/jquery.alerts.css"
	rel="stylesheet" type="text/css" media="screen" />


<script type="text/javascript">
	
		window.onload = function(){
			var contextPath = $("#contextPath").val();

			$.ajax  
			({   
			        url:contextPath+'/admin/selectActivityOrder',    
			        type: 'POST',
			        timeout:10000,
			        success: function(msg)   
			        {
			        	eval('var obj='+msg);
			        	for(var i=0;i<obj.length;i++){
				        	var str = "<table width='190' height='80' border='0' cellpadding='0' cellspacing='0' style='margin-bottom:10px; border-bottom:#CCCCCC dashed 1px;'>";
							str+="<tr><td width='83' height='76' rowspan='2' align='left' valign='middle'><a  id='pica1' target='_blank' href="+obj[i].url+"><img src='${pageContext.request.contextPath}/"+obj[i].imagePath+"' width='78' height='69' /></a></td>";
							str+="<td height='20' align='left' valign='middle' class='moluse_12'><span  class='zhonghong'><a target='_blank' id='a1' href="+obj[i].url+">"+obj[i].title+"</a></span></td></tr>";
							str+="<tr><td width='107' height='56' align='left' valign='top' class='moluse_12'><span class='huise3_12' style='line-height:18px' id='content1'>"+obj[i].content+"</span></td></tr></table>";
							$("#dataTD").append(str);
						 }
			        },   
			        error: function (msg)   
			        {   
			        	//jAlert('删除增值业务描述信息失败','消息');
			        }   
			 });    
		}
	</script>

</head>
<body>
	<input type="hidden" id="contextPath" value="${pageContext.request.contextPath}">
    <table width="208" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="208" height="27" align="left" valign="bottom" background="${pageContext.request.contextPath}/images/dels/lift_1.gif">
		
		
		
		<table width="202" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td width="84" height="23" align="center" valign="middle"><strong>精彩促销</strong></td>
              <td width="118" align="right" valign="middle"><a href="/telmarket-web/web/selectActivity" target="_parent">更多</a>&nbsp;&nbsp; </td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td width="208" align="center" id="dataTD" valign="top" background="${pageContext.request.contextPath}/images/dels/lift_2.gif" style="padding-top:8px;">
        
        
        

          
          
          
          
          
          
          </td>
      </tr>
    </table>
     <table width="208" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:8px;">
        <tr>
          <td width="10"><img src="${pageContext.request.contextPath}/images/tab_foot_1.gif" width="10" height="6" /></td>
          <td width="188" background="${pageContext.request.contextPath}/images/tab_foot_2.gif"></td>
          <td width="10"><img src="${pageContext.request.contextPath}/images/tab_foot_3.gif" width="10" height="6" /></td>
        </tr>
      </table>
</body>
</html>